from random import randint
j= int(input())
count = 0
for i in range(j):
    x = randint(-100,100)
    y = randint(-100,100)
    if x>=-7 and x<= 5 and y >=-8 and y<=5:
        count+=1
print("Количество выстрелов:" ,  j)
print("Количество попададий:" , count)
